.foamMain{
  width: 100%;
  height:100%;
  background: #F7F7F7;
  position:absolute;
}
.foamBody {
  width: 100%;
  background: #f7f7f7;
  /* overflow:scroll; */
  /* overflow: scroll; */
  overflow-x: hidden;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
}

/* ----------------标题栏---------------- */
.foamHead {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 58px;
}
.foamBarLeft {
  margin-left: 24px;
  width: 24px;
  height: 24px;
}
.foamBarTitle {
  flex: 1;
  margin-left: 16px;
  line-height: 36px;
  color: rgba(0, 0, 0, 0.9);
  font-size: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.foamBarRight {
  margin-right: 28px;
  width: 16px;
  height: 15px;
}

/* -----------------耗材余量----------------- */
.foamProgressContainer{
  position: absolute;

}
.foamProgress{
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}


.foamProgress .leftContainer{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: baseline;
}
.foamProgress .leftContainer .title{
  margin-left: 20px;
  font-size: 60px;
  color: rgba(0, 0, 0, 1);
  margin-top: 88px;
}
.foamProgress .leftContainer .unit{
  font-size: 16px;
  color: rgba(0, 0, 0, 0.6);
  margin-left: 5px;
}
.foamProgress .desc{
  font-size: 16px;
  color: rgba(0, 0, 0, 0.6);
}
.foamProgress .name{
  margin-top: 76px;
  font-size: 18px;
  color:rgba(0, 0, 0, 0.9);
}
.foamProgress .canUseDays{
  margin-top: 10px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.6);
}
.foamProgress .progress{
  flex-flow:nowrap;
}

/* -----------------说明卡片----------------- */
.foamCard {
  border-radius: 16px;
  height: 68px;
  width: 100%-24px;
  margin-left: 12px;
  margin-right: 12px;
  display: flex;
  position: relative;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  margin-top: 40px;
}
.foamCard .title {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.9);
  padding: 20px;
}

/* --------------按钮区--------------- */
.foamBtnContainer{

  display: flex;
  flex-direction: row;
  width: 100%-64px;
  margin-left: 32px;
  margin-right: 32px;
  margin-top: 150px;
}
.foamBtnContainer .buyBtn {
  flex: 1;
  height: 40px;
  border-radius: 20px;
  background: #0A59F7;
  flex-direction: row;
  display: flex;
  justify-content: center;
  align-items: center;
}
.foamBtnContainer .buyBtn:active{
  opacity: 0.3;
}
.foamBtnContainer .buyBtn .title {
  font-size: 16px;
  color: #ffffff;
}
.foamBtnContainer .resetBtn {
  flex: 1;
  height: 40px;
  border-radius: 20px;
  flex-direction: row;
  display: flex;
  justify-content: center;
  align-items: center;
}
.foamBtnContainer .resetBtn:active{
  opacity: 0.3;
}
.foamBtnContainer .resetBtn .title {
  font-size: 16px;
  color: #0a59f7;
}
.foamBtnContainer .divider{
  width: 8px;
  height: 100%;
}

